package com.gitee.cashzhang27.test.cloud.oauth.auth.server.extended.entity;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/02/07 16:11
 */
public enum DictCodeEnums {
  /**
   * 用户类型
   */
  USER_TYPE_EMPLOYEE(1, "员工"),
  USER_TYPE_CUSTOMER(2, "客户"),

  LOGIN_MODE_USERNAME(1, "用户名登录"),
  LOGIN_MODE_PHONE(2, "手机号邓丽"),
  LOGIN_MODE_EMAIL(3, "邮箱号登录");
  /**
   * 状态码
   */
  private final Integer code;
  /**
   * 描述
   */
  private final String msg;

  DictCodeEnums(final Integer code, final String msg) {
    this.code = code;
    this.msg = msg;
  }

  public Integer getCode() {
    return code;
  }

  public String getMsg() {
    return msg;
  }
}
